diff -up gstreamermm-1.10.0/gstreamer/gstreamermm/register.h.vol gstreamermm-1.10.0/gstreamer/gstreamermm/register.h
--- gstreamermm-1.10.0/gstreamer/gstreamermm/register.h.vol	2017-10-20 11:26:46.000000000 +0200
+++ gstreamermm-1.10.0/gstreamer/gstreamermm/register.h	2021-07-25 14:22:10.275157229 +0200
@@ -110,7 +110,7 @@ register_mm_type(const gchar * type_name
     /* The typedef for GType may be gulong or gsize, depending on the
      * system and whether the compiler is c++ or not. The g_once_init_*
      * functions always take a gsize * though ... */
-    static volatile gsize gonce_data = 0;
+    static gsize gonce_data = 0;
     if (g_once_init_enter (&gonce_data)) {
         GTypeInfo info;
 
